package cn.gov.msa.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gov.msa.model.RuleTime;

public interface RuleTimeMapper {
    int deleteByPrimaryKey(String ruleidtime);

    int insert(RuleTime record);

    int insertSelective(RuleTime record);

    RuleTime selectByPrimaryKey(String ruleidtime);
    
    List<RuleTime> selectByRuleId(String ruleId);

    int updateByPrimaryKeySelective(RuleTime record);

    int updateByPrimaryKey(RuleTime record);
    
    int deleteByRuleId(String ruleid);
    
    public List<RuleTime> getMaxNum(@Param("ruleid")String ruleid,@Param("reservetime")String reservetime);//获取最大人数
}